Alexandre Emsenhuber [Sun, 19 Feb 2012 22:29:51 +0000 (22:29 +0000)]
Call directly numRows() on the result object instead of DatabaseBase::numRows()
Daniel Friesen [Sun, 19 Feb 2012 21:43:37 +0000 (21:43 +0000)]
Handle one part of bug 32545 while improving MediaWiki's support for Microdata in content by adding support for the <data>, <time>, <meta>, and <link> elements. The latter two are only permitted when Microdata is enabled, and for security are only allowed to be actual elements when they have a strict set of attributes set.
Raimond Spekking [Sun, 19 Feb 2012 20:47:51 +0000 (20:47 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Derk-Jan Hartman [Sun, 19 Feb 2012 19:56:56 +0000 (19:56 +0000)]
Add support for sorting fractions in jquery.tablesorter
Fixes bug 15404
Alexandre Emsenhuber [Sun, 19 Feb 2012 19:47:14 +0000 (19:47 +0000)]
Use local context to get messages
Aaron Schulz [Sun, 19 Feb 2012 19:47:09 +0000 (19:47 +0000)]
r111795: update line to remove bogus $db argument
Derk-Jan Hartman [Sun, 19 Feb 2012 13:14:47 +0000 (13:14 +0000)]
Followup to r111861. Remove messages for highlightbroken because they are no longer in use.
Derk-Jan Hartman [Sun, 19 Feb 2012 13:06:18 +0000 (13:06 +0000)]
Bug 27619: Remove the option to show broken links as: link?
Being bold here, but otherwise it will still be there in 2016
Siebrand Mazeland [Sun, 19 Feb 2012 09:18:45 +0000 (09:18 +0000)]
Follow-up r111855: add watchlist-summary to messages.inc.
Raimond Spekking [Sun, 19 Feb 2012 09:09:51 +0000 (09:09 +0000)]
Add message keys to the message files to define that messages and show it on Special:AllMessages.
Per request of Der Umherirrende https://translatewiki.net/wiki/Thread:Support/Missing_message_keys_in_messages_files
Raimond Spekking [Sat, 18 Feb 2012 20:41:29 +0000 (20:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Antoine Musso [Sat, 18 Feb 2012 15:34:12 +0000 (15:34 +0000)]
(bug 34421) duplicate Subject / wrong To: headers in mail
This fixup our mail sending system which duplicated the Subject and To: header.
In some conditions it used only the email address for the From: field skipping
the username ($dest in old code only contains the email address).
Mails sent to a single recipients will look alike with mail() or PEAR Mail.
For multiple recipients:
- php mail() will show the recipient email and 'undisclosed-recipients:'
- PEAR Mail will only show 'undisclosed-recipients:'
Reverts r111820
Follow r111819
Fixup r93397
Derk-Jan Hartman [Sat, 18 Feb 2012 14:35:14 +0000 (14:35 +0000)]
Add support to tablesorter to handle IP/CIDR notation
This fixes bug 34475
Sam Reed [Sat, 18 Feb 2012 14:28:38 +0000 (14:28 +0000)]
Fix extraneous quote from r111800
Doesn't fix Niklas' issue, but it tidies it up for the moment
Alexandre Emsenhuber [Sat, 18 Feb 2012 14:14:10 +0000 (14:14 +0000)]
Use local context to get messages
Alexandre Emsenhuber [Sat, 18 Feb 2012 13:21:01 +0000 (13:21 +0000)]
Removed wfDeprecated() call from LogPage::logName() and LogPage::logHeader(); they are still widely used including in core.
Antoine Musso [Sat, 18 Feb 2012 10:57:34 +0000 (10:57 +0000)]
(bug 34421) avoid duplicate Subject headers in mail
r93397 duplicated the Subject header since it was passed both as an
argument of mail() and in the additional headers array.
This is r111765 done right.
Tested using both Pear and mail() methods.
Antoine Musso [Sat, 18 Feb 2012 10:37:11 +0000 (10:37 +0000)]
revert r111765 bug 34421 avoid duplicate Subject headers
Was removing subjects when sending mails through PEAR.
Roan Kattouw [Sat, 18 Feb 2012 10:36:32 +0000 (10:36 +0000)]
Proper $=jQuery aliasing in tablesorter test
Sam Reed [Sat, 18 Feb 2012 01:07:42 +0000 (01:07 +0000)]
Fix possibly undefined variables
Move $db further up
Return something on all paths
Andrew Garrett [Sat, 18 Feb 2012 00:42:41 +0000 (00:42 +0000)]
Add missing dependency of mediawiki.user to mediawiki.api.watch. May resolve some of bug 34450
Ryan Kaldari [Sat, 18 Feb 2012 00:08:06 +0000 (00:08 +0000)]
follow-up to r111802, we dont need internal document.ready trigger since the entire js file is inside a document.ready trigger now
Ryan Kaldari [Sat, 18 Feb 2012 00:06:05 +0000 (00:06 +0000)]
fix for bug 34466 - making sure mediawiki module isnt executed before the DOM is ready
Andrew Garrett [Fri, 17 Feb 2012 22:49:04 +0000 (22:49 +0000)]
Add both size *and* size difference on history page per bug 34449
Andrew Garrett [Fri, 17 Feb 2012 22:15:17 +0000 (22:15 +0000)]
Revert r97042, causes bug 34432
Alexandre Emsenhuber [Fri, 17 Feb 2012 22:14:31 +0000 (22:14 +0000)]
Use local context to get messages
Aaron Schulz [Fri, 17 Feb 2012 21:48:01 +0000 (21:48 +0000)]
(bug 34373) - 'populateRevisionSha1.php misses archive rows, whose text is stored directly in the archive table (not text table)'
Raimond Spekking [Fri, 17 Feb 2012 21:26:28 +0000 (21:26 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Amir E. Aharoni [Fri, 17 Feb 2012 17:46:31 +0000 (17:46 +0000)]
Replaced wrong order of digits and dollars in params - s/(\d)\$/$\1/g.
Antoine Musso [Fri, 17 Feb 2012 17:02:24 +0000 (17:02 +0000)]
(bug 34421) avoid duplicate Subject headers
r93397 duplicated the Subject header which was passed to the mail() function
as well as to the $headers array.
Siebrand Mazeland [Fri, 17 Feb 2012 16:09:12 +0000 (16:09 +0000)]
Localisation updates from translatewiki.net.
Siebrand Mazeland [Fri, 17 Feb 2012 15:43:13 +0000 (15:43 +0000)]
Cleanup of MessagesCps.php. Contained a bunch of empty strings.
Alexandre Emsenhuber [Fri, 17 Feb 2012 14:44:14 +0000 (14:44 +0000)]
* (bug 34471) Deleted contributions for IP addresses now works again
Ryan Kaldari [Fri, 17 Feb 2012 01:34:53 +0000 (01:34 +0000)]
changing jquery.ui buttons to match assets from brandon, also adding separate graphics for large buttons
Tim Starling [Fri, 17 Feb 2012 00:28:17 +0000 (00:28 +0000)]
Clarified comment per CR r111701
Tim Starling [Thu, 16 Feb 2012 23:27:00 +0000 (23:27 +0000)]
(bug 34428) Fixed hash mismatch errors in DiffHistoryBlob::patch() by simulating LibXDiff's broken Adler-32 implementation.
Roan Kattouw [Thu, 16 Feb 2012 22:56:44 +0000 (22:56 +0000)]
Move the IE memory leak prevention voodoo together to after the callback, and put it in a try catch block. The first statement after the callback seems to mysteriously fail in IE7 sometimes with a permission denied error. I think the root cause might be the fact that the callback itself also calls addScript()
Roan Kattouw [Thu, 16 Feb 2012 22:51:06 +0000 (22:51 +0000)]
Since I'm sick of all the mw.user-induced problems, break the dependency between mw.user.{options,tokens} and mw.user . With this change, mediawiki.js defines a skeleton object for mw.user containing just the options and tokens maps, and mediawiki.user.js copies those when it sets up the full mw.user object. This way of doing extending is kind of ugly but I don't have time to work on something nicer without breaking backwards compatibility. Because mw.user.{options,tokens} are loaded very early, this also means they're now guaranteed to be available to everything everywhere.
Platonides [Thu, 16 Feb 2012 21:32:53 +0000 (21:32 +0000)]
Fix r111590 typo.
Raimond Spekking [Thu, 16 Feb 2012 20:46:56 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Brion Vibber [Thu, 16 Feb 2012 20:29:45 +0000 (20:29 +0000)]
* (bug 34445) section edit and TOC hide/show links are excluded from selection and copy/paste on supporting browsers
Tested on current Firefox, Chrome, Safari, Opera:
* Firefox excludes from select and copy
* Chrome, Safari exclude from select, but they turn up on the copy
* Opera doesn't seem to support the setting (event namespaced)
* IE not tested but 10 should support it if 9 doesn't
Sam Reed [Thu, 16 Feb 2012 20:13:35 +0000 (20:13 +0000)]
Merge r111667 into trunk
Aaron Schulz [Thu, 16 Feb 2012 18:22:09 +0000 (18:22 +0000)]
Improve error log formatting and added error message info for InvalidResponseException
Alexandre Emsenhuber [Thu, 16 Feb 2012 17:12:20 +0000 (17:12 +0000)]
Use local context to get message
Alexandre Emsenhuber [Thu, 16 Feb 2012 16:09:08 +0000 (16:09 +0000)]
Whitespaces fixes
Robin Pepermans [Thu, 16 Feb 2012 16:05:43 +0000 (16:05 +0000)]
(Bug 31417) Content-holding div needs an ID.
Since the introduction of the class mw-content-ltr/rtl, it has been used to get the page text which is very bad because there are two class names and it is not always on the same place (if at all). This ID will always hold the bodytext (excluding categories, ArticleFeedback, ...).
Antoine Musso [Thu, 16 Feb 2012 15:44:58 +0000 (15:44 +0000)]
remove debug statement from r111643
need REL1_19, 1.19wmf1 backports
Antoine Musso [Thu, 16 Feb 2012 15:40:32 +0000 (15:40 +0000)]
(bug 34420) - Special:Version should use git
You can test it using git init in our $IP and do a dummy commit with:
git commit -a RELEASE-NOTES-1.19
Then head to Special:Version and look at the magic version number.
This need a backport in REL1_19 / 1.19wmf1 since WMF is going to use
git "soon" (tm).
Alexandre Emsenhuber [Thu, 16 Feb 2012 12:59:48 +0000 (12:59 +0000)]
Added wfDeprecated() call to wfSpecialList() now there no more calls to that function in core or extensions
Antoine Musso [Thu, 16 Feb 2012 08:36:36 +0000 (08:36 +0000)]
always have $wgDoxyGenerateMan defined
r101807 introduced a new variable which was not always defined.
Aaron Schulz [Thu, 16 Feb 2012 05:04:17 +0000 (05:04 +0000)]
Fixed bogus call to method on a string
Sam Reed [Thu, 16 Feb 2012 02:52:46 +0000 (02:52 +0000)]
Make wfProfileOut call be the last thing before the return
Sam Reed [Thu, 16 Feb 2012 02:52:11 +0000 (02:52 +0000)]
Followup r107002
Add a TODO to do this via hook or similar
Sam Reed [Thu, 16 Feb 2012 02:44:31 +0000 (02:44 +0000)]
Add NewParserTest to TestsAutoLoader.php
Fix undefined variable in testHelpers.inc
Sam Reed [Thu, 16 Feb 2012 02:35:48 +0000 (02:35 +0000)]
Cleanup a few unused globals
Sam Reed [Thu, 16 Feb 2012 02:34:59 +0000 (02:34 +0000)]
Add missing >
Ping r111324
Sam Reed [Thu, 16 Feb 2012 02:05:49 +0000 (02:05 +0000)]
Bad Aaron
Sam Reed [Thu, 16 Feb 2012 02:01:00 +0000 (02:01 +0000)]
Add missing wfProfileOut( __METHOD__ );
Sam Reed [Thu, 16 Feb 2012 00:54:34 +0000 (00:54 +0000)]
Fix user related direct member variable access
Tim Starling [Thu, 16 Feb 2012 00:51:10 +0000 (00:51 +0000)]
Temp patch for bug 34428, merged from 1.19wmf1 r111602
Roan Kattouw [Wed, 15 Feb 2012 23:38:40 +0000 (23:38 +0000)]
Followup r110592: rename 'blocking' to 'async', and invert the logic everywhere. This makes blocking loading (async=false) the default as it was before. r110592 made async loading (blocking=false) the default, which caused backwards compatibility problems when page HTML generated by 1.18 interacted with the 1.19 version of mw.loader
Jeroen De Dauw [Wed, 15 Feb 2012 22:59:06 +0000 (22:59 +0000)]
comment out inclusion awaiting putting this stuff back after slush
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:53 +0000 (22:56 +0000)]
Move to EP untill slush ends
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:19 +0000 (22:56 +0000)]
Move to EP untill slush ends
Platonides [Wed, 15 Feb 2012 22:42:09 +0000 (22:42 +0000)]
Improve table comments.
Thomas Gries [Wed, 15 Feb 2012 22:40:38 +0000 (22:40 +0000)]
important fix inside HttpFunctions.php. I noticed that when you call HttpRequest::factory with noProxy=true for example inside an intranet, this is ignored in (Curl)HttpRequest because the proxy url is not cleared. This commit makes sure at lowest level - namel in the public function proxySetup() - that a optional(true) value of noProxy is observed and that it (now) also clears the proxy url. (I have been told that I am allowed to commit this patch. Please carefully review, as usual).
mrbluesky [Wed, 15 Feb 2012 21:20:05 +0000 (21:20 +0000)]
(bug 33442) Dont prompt for summary on page creation.
Sam Reed [Wed, 15 Feb 2012 21:06:13 +0000 (21:06 +0000)]
gearman has been nuked
Ping r110958
Rob Lanphier [Wed, 15 Feb 2012 20:44:58 +0000 (20:44 +0000)]
Bug 34397: align footer so that it doesn't overlap with sidebar in Simple skin
Aaron Schulz [Wed, 15 Feb 2012 20:24:15 +0000 (20:24 +0000)]
Delete the temp cdb file when an exception is thrown so they don't take up /tmp space
Raimond Spekking [Wed, 15 Feb 2012 20:11:31 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Aaron Schulz [Wed, 15 Feb 2012 20:06:47 +0000 (20:06 +0000)]
Put the filename in more of the exceptions thrown
Daniel Friesen [Wed, 15 Feb 2012 19:44:54 +0000 (19:44 +0000)]
Add &useskin=default handling to always display the wiki's default skin.
Jeroen De Dauw [Wed, 15 Feb 2012 19:39:42 +0000 (19:39 +0000)]
follow up to r111468 - put in compatibility for php 5.2 using debug_backtrace hack
Daniel Friesen [Wed, 15 Feb 2012 19:33:13 +0000 (19:33 +0000)]
Add missing delimiters to the regexp in maintenace/dev/'s router.
Daniel Friesen [Wed, 15 Feb 2012 19:32:36 +0000 (19:32 +0000)]
Add an OutputPage to the EditPage::showEditForm:initial to match the EditPage::showEditForm:fields hook so that people will stop global'ing $wgOut. e.g.: In WikiEditor.
Jeroen De Dauw [Wed, 15 Feb 2012 16:53:50 +0000 (16:53 +0000)]
Follow up to r30985; not by ref
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:21:58 +0000 (16:21 +0000)]
* Use local context to get messages
* Link to Special:Whatlinkshere/Page instead of Special:Whatlinkshere?target=Page for consistency
* Removed to useless empty lines
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:17:02 +0000 (16:17 +0000)]
Move wfIncrStats() near other debugging functions
Platonides [Wed, 15 Feb 2012 16:04:33 +0000 (16:04 +0000)]
Follow-up r111468, there were some changes left.
Antoine Musso [Wed, 15 Feb 2012 15:29:22 +0000 (15:29 +0000)]
(bug 34192) Gender aliases for Albanian (Aln)
r111403 already did it for 'sq', this is for 'aln'.
Jeroen De Dauw [Wed, 15 Feb 2012 14:47:25 +0000 (14:47 +0000)]
fix call to protected method and killed dead code
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:34:08 +0000 (13:34 +0000)]
Settings $this->mFile to false and checking for !$this->mFile the line after is rather... useless
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:31:20 +0000 (13:31 +0000)]
Removed assertions calling MWNamespace::isMain() from MWNamespaceTest::testIsSubject() that give an error since the former now calls wfDeprecated()
Trevor Parscal [Wed, 15 Feb 2012 00:14:45 +0000 (00:14 +0000)]
Fixed green button styles to match colors in actual image files. You're welcome werdna!
Jeroen De Dauw [Tue, 14 Feb 2012 22:27:07 +0000 (22:27 +0000)]
move method and added warning on count function
Raimond Spekking [Tue, 14 Feb 2012 21:44:34 +0000 (21:44 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Jeroen De Dauw [Tue, 14 Feb 2012 21:42:22 +0000 (21:42 +0000)]
follow up to r111468 - fixed various issues caused by refactoring
Jeroen De Dauw [Tue, 14 Feb 2012 21:16:39 +0000 (21:16 +0000)]
follow up to r111468 - moved a bunch of methods from DBDataObject to DBTable and some minor changes
Antoine Musso [Tue, 14 Feb 2012 20:20:56 +0000 (20:20 +0000)]
enable purge of HTTPS URLs
Jeroen De Dauw [Tue, 14 Feb 2012 18:11:52 +0000 (18:11 +0000)]
follow up to r111264; split up class into one representing a table and one representing rows. Also getting rid of staticness, in particular LSB, so this becomes PHP 5.2 compatible. Not done yet, will follow up later
Alexandre Emsenhuber [Tue, 14 Feb 2012 15:06:13 +0000 (15:06 +0000)]
Also call $this->clear() from WikiPage::doDeleteUpdates() so that the object is in a consistent state after deletion
Alexandre Emsenhuber [Tue, 14 Feb 2012 14:10:32 +0000 (14:10 +0000)]
Always send 1 for "-total" item in wfIncrStats() when destination is UDP; it should not depend on the $count parameter
Antoine Musso [Tue, 14 Feb 2012 09:59:59 +0000 (09:59 +0000)]
split ns selector tests for filter / disable options
ping r111376
Aaron Schulz [Tue, 14 Feb 2012 07:25:48 +0000 (07:25 +0000)]
Reverted r111186, r111226: broken per CR
Sam Reed [Tue, 14 Feb 2012 04:05:49 +0000 (04:05 +0000)]
Documentations!
Daniel Friesen [Tue, 14 Feb 2012 02:22:02 +0000 (02:22 +0000)]
Introduce property: and itemprop: support for addMeta to add RDFa <meta property="..." content="..."> and Microdata <meta itemprop="..." content="..."> to the <head>.
This is done in a way that can also be feature tested, and technically could be expanded by extensions.
Andrew Garrett [Mon, 13 Feb 2012 22:39:15 +0000 (22:39 +0000)]
Modification to jquery.localize.js: For HTML elements, allow a raw="" parameter, which prevents escaping. Reviewed by Trevor before I committed it.
Andrew Garrett [Mon, 13 Feb 2012 22:32:44 +0000 (22:32 +0000)]
Port (with changes) r110866 to trunk. Reviewed by Brion before commit.
Brian Wolff [Mon, 13 Feb 2012 20:29:41 +0000 (20:29 +0000)]
follow-up r111342. Document the callerOffset paramter being used per CR.